package com.ad.hibernate;

import java.io.Serializable;
import java.util.Date;

public class Tip implements Serializable {

	private static final long serialVersionUID = -4274806954122563827L;

	private String background;

	private String id;

	private String content;

	private String tipType;

	private String divId;

	private String divStyle = "";

	private Date createDate;

	private Date endDate;

	private String creator;

	private int locationId;

	private String title;

	public String getBackground() {
		return background;
	}

	public void setBackground(String background) {
		this.background = background;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getLocationId() {
		return locationId;
	}

	public void setLocationId(int locationId) {
		this.locationId = locationId;
	}

	public String getCreator() {
		return creator;
	}

	public void setCreator(String creator) {
		this.creator = creator;
	}

	public void addStyle(String style) {
		divStyle += style;
	}

	public void clearStyle() {
		divStyle = "";
	}

	public String getDivStyle() {
		return divStyle;
	}

	public void setDivStyle(String divStyle) {
		this.divStyle = divStyle;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTipType() {
		return tipType;
	}

	public void setTipType(String tipType) {
		this.tipType = tipType;
	}

	public String getDivId() {
		return divId;
	}

	public void setDivId(String divId) {
		this.divId = divId;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

}
